Class_name = "CBotCharacter"
object_name = "BotPilot_B25D_RAF43"
detail_type = "DET_INFANTRY" //list of types is in \inc\SimulationSystem\DetailTypes.inc

//////	PhysicsBody properties
VisualImage=2,"graphics/characters/Pilot_Brit/Pilot_Brit_%s.mgm",true
CollisionBody="graphics/characters/Pilot_Brit/Pilot_Brit.col"
Animator="graphics/characters/Keyframes/B25D/Pilot_B25D_First.chr","GOT_PLANE"
Animator="graphics/characters/Keyframes/B25D/CharB25DOnField.chr","GOT_NONE"
kfgroup="b25d"	//Name of used group of keyframes in .txt of .MGM model of the character

SoundScript="LuaScripts/Sound/Vehicles/BotSound.cfg"

[attach=0]
	position= 0, 0.72, 0
	object = "LuaScripts/WorldObjects/Bots/BotHeadGunRus.txt"
[end]

NeckAngleConstrX=-100,100;
NeckAngleConstrY=-175.0,175.0;
NeckAngleConstrZ=-120,120;

NeckSlideConstrX=-0.40,0.40;
NeckSlideConstrY=-0.45,0.45;
NeckSlideConstrZ=-0.45,0.45;

ScarfAxisYArg=10
ScarfAxisZArg=11
ScarfPhaseArg=12

ProtectiveGlassesOnEyesArg=24
OxygenMaskOnFaceArg=25

energyloss="",true,0.1,10000 //     , true -       -,       ,        

replicatedarg=402,0.5	//        - (     .chr),       
replicatedarg=403,0.0
replicatedarg=404,0.0
replicatedarg=406,0.5
replicatedarg=407,0.5

//////	Bot specific
Controller="LuaScripts/WorldObjects/Bots/PlaneController_NI.txt"
Controller="LuaScripts/WorldObjects/Bots/PlaneController_AI.txt"
Controller="LuaScripts/WorldObjects/Bots/BotController_NI.txt"
Controller="LuaScripts/WorldObjects/Bots/BotController_AI.txt"

// Damage model
Armor=0 //  
LifeRate=250 //     
LifeRateFrag=500 //   
HeadConvexPrefix="Head" //     
HeadArmor=0 //   
HeadLifeRate=50 //      
HeadLifeRateFrag=100 //    
Firing=1 //         
DestroyDelay=120 //      
MinEjectAlt=10 //     
OxygenMaskType=2 //   : 0 -  (  ""     ), 1 -  Fokker D.7, 2 -  WW2

RepairSpeed=0.005555	//  ,     (   3 )
RepairSource=1	//  ,   
//	VMRI_REPAIR=0
//	VMRI_REHEAL=1
//	VMRI_REARM=2
//	VMRI_REFUEL=3
//	VMRI_SERVICEREPAIR=4

// 
logtreshold=0.0001

GunInClosedCockpit=true

FlarePath="LuaScripts/WorldObjects/Ballistics/Flare.txt"

gun="LuaScripts/WorldObjects/Ballistics/HandGunFlareRed6.txt",0
gun="LuaScripts/WorldObjects/Ballistics/HandGunFlareGreen4.txt",1
gun="LuaScripts/WorldObjects/Ballistics/HandGunFlareWhite4.txt",2
ReArmTime=5.0

//Group ID, Name, VisArg, VisArgVal
cloth=0,"No scarf",13,0.045f
cloth=0,"Scarf 0",13,0.590f
cloth=0,"Scarf 1",13,0.681f
cloth=0,"Scarf 2",13,0.772f
cloth=0,"Scarf 3",13,0.863f
cloth=0,"Scarf 4",13,0.954f

GunVisArg=30

//// Eject properties ////

EjectDelay=0.7667, 0.001	//        [Entrance] (  -),     (0.001 - instantly)
EjectDelay=0.1, 0.001	//	Eject delay for case of negative G ejection
ParachuteDelay=2	//	Opening parachute delay while free fall (sec)
MaxParachuteSpeed=60	//	m/s

SplashConfig="LuaScripts\WorldObjects\Emitters\WaterSpray1.txt"

[Parachute]
	MaxOpeningTension=40.0f	//	Slings tension while opening parachute (kg)

	MinRad=0.5f
	MaxRad=4.0f
	MaxSlings=8.4f

	//MaxRad=2.9f
	//MaxSlings=6.0f

	SlingsDuration=2.5f
	PDuration=1

	VisibleParachute="LuaScripts/WorldObjects/Bots/Parachute01Usaf.txt"

	SlingsAttach=0.06f,0.62f,0.0f
[end]

ImpulseToDestroy = 500		//      ,    .    6   . ,  ,  ,  ,  ,  .
ImpulseMinimumLevel = 100		//      ,    .         .

GUIHealthMessage=25		// ,  ,  -    
//  1 - Vehicle Driver
//  4 - Vehicle Commander
//  7 - Vehicle Gunner
// 10 - Vehicle Machinegunner
// 13 - Vehicle Radioman
// 16 - Vehicle Loader
// 19 - Vehicle Plugman
// 22 - Airplane Pilot
// 25 - Airplane Commander
// 28 - Airplane Co-Pilot
// 31 - Airplane Navigator
// 34 - Airplane Radioman
// 37 - Airplane Gunner
// 40 - Airplane Waist Gunner